package com.fancy.dao;

import entity.PersonChatMessage;

import java.util.List;

/**
 * Created by Jackie on 2017/10/20.
 */
public interface PersonChatMessageDao {

    boolean insertMessage(PersonChatMessage personChatMessage);

    List<PersonChatMessage> findConversation(String myID, String otherID);

    List<PersonChatMessage> findNotReadMessage(String myID, String otherID);

    boolean updataMessageToRead(int order);

}
